package com.wuyou.securitydemo.service;

import com.wuyou.securitydemo.domain.AuthDTO;
import com.wuyou.securitydemo.domain.TokenVO;
import com.wuyou.securitydemo.pwd.CustomizedPasswordAuthenticationToken;
import org.springframework.security.core.Authentication;

public interface AuthService {


    TokenVO auth(AuthDTO authDTO);

    void logout(String token);
}
